package com.qiang.demo01;


public class Test09 {
    public static void main(String[] args) {
        Generic sb = new Generic();
        sb.show("liuyan");
        sb.show(12);
        sb.show(true);
    }
}

    class Generic {
        public <T> void show(T t) {
            System.out.println(t);
        }
}
